package com.ebt.m.data.entity;

import com.ebt.m.utils.DataAnnotationCompareExcept;

public class CustomerInfoItemContactContent extends ACustomerInfoItemContent{

	public String uuid;//主键不能为空
	
	public Integer ctype;//联系类型（1电话、2邮箱、3及时消息）
	
	public String cvalue;//联系方式具体值
	
	public Integer isDefault;//是否默认(0否/1是)
	
	public String description;//自定义名称（如果自定义从中取值）//在view中进行了约束，不可能为isEmpty
	
	@DataAnnotationCompareExcept
	public String customerUUId;
	
	@DataAnnotationCompareExcept
	public Integer ChangeStatus;
	
	public CustomerInfoItemContactContent(){
		
	}
	
	public CustomerInfoItemContactContent(String uuid, Integer ctype, String cvalue, Integer isDefault, String description) {
		super();
		this.uuid = uuid;
		this.ctype = ctype;
		this.cvalue = cvalue;
		this.isDefault = isDefault;
		this.description = description;
	}
	
	public Integer getChangeStatus() {
		return ChangeStatus;
	}

	public void setChangeStatus(Integer changeStatus) {
		ChangeStatus = changeStatus;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getCustomerUUId() {
		return customerUUId;
	}

	public void setCustomerUUId(String customerUUId) {
		this.customerUUId = customerUUId;
	}
	
	public Integer getCtype() {
		return ctype;
	}

	public void setCtype(Integer ctype) {
		this.ctype = ctype;
	}

	public String getCvalue() {
		return cvalue;
	}

	public void setCvalue(String cvalue) {
		this.cvalue = cvalue;
	}

	public Integer getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	@Override
	public String toString() {
		return "ContactContentItem: uuid is " + uuid + " | ctype is " + ctype + " | cvalue is " + cvalue + " | isDefault is " + isDefault + " | is description " + description;
	}

}
